package com.chuanke.ckfamily.service.common.impl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.chuanke.ckfamily.dao.common.HelpDao;
import com.chuanke.ckfamily.dao.common.model.Help;
import com.chuanke.ckfamily.service.base.FailCode;
import com.chuanke.ckfamily.service.common.HelpService;
import com.chuanke.ckfamily.service.exception.CFException;
import com.weijie.core.BaseBiz;

@Service
@Transactional(rollbackFor=Exception.class)
public class HelpServiceImpl extends BaseBiz<Help, HelpDao> implements HelpService{

	@Override
	public Help findByCode(String code) throws CFException {
		Help help= baseDao.findByCode(code);
		return help;
	}
	
}